import { _decorator, Component, Node } from 'cc';
import { nodePool } from '../utils/nodePool';
const { ccclass, property } = _decorator;

@ccclass('phbView')
export class phbView extends Component {
    private listNode = null;
        onEnable() {
            this.initList(1);
        }
        //刷新列表
        initList(type: number) {
            switch (type) {
                case 1:
                    //刷新头像列表
                    break;
                case 2:
                    //收藏品
                    break;
                case 3:
                    //个人专属
                    break;
            }
        }
        close(){
            nodePool.ins.huiShouNode(this.node);
        }
}


